# -*- coding: utf-8 -*-

class Analyser:
    UPDATE = 0
    ADD = 1
    DELETE = 2
     
    def __init__(self):
        pass
    
    def notify(self, instance):
        """
            action - UPDATE, ADD, DELETE
            sender - LVL, CATALOG, EXTENDED_TAG. new instance itself
        """
        pass
        
        
    def tag_added(self):
        """
            tag(s) added
        """
        pass
    
    def level_added(self):
        """
            level added
        """
        pass
    
    def ext_tag_added(self):
        """
            extended_tag added
        """
        pass
    
    def tag_updated(self):
        """
            tag number inside level remids the same, some tags deleted, the same amount added
        """
        pass
    
    def level_updated(self):
        """
            name of the level changed
        """
        pass
    
    def ext_tag_updated(self):
        """
            name of tag or its extending tags have been updated
        """
        pass
    
    def tag_deleted(self):
        """
            some tag(s) have been removed from level
        """
        pass
    
    def level_deleted(self):
        """
            the whole level(s) has been removed
        """
        pass
    
    def ext_tag_deleted(self):
        """
            extended tag(s) has been removed 
        """
        pass